<?php

namespace App\Admin\Extensions;

use Encore\Admin\Actions\RowAction;

class SendMessage extends RowAction
{
    public $name = '推送消息';

    public function href()
    {
        $userId = $this->getKey();
        return "/admin/school/message?user_id={$userId}";
    }
}